import PATH from '../script/alias';
import babel from 'rollup-plugin-babel';
import eslint from 'rollup-plugin-eslint';
export default {
  entry: `${PATH.Root}/src/parts/main/index.js`,
  dest: `${PATH.WristbandAPP}/view/main/index.js`,
  format: 'iife',
  sourceMap: 'inline',
  moduleName: 'main',  
  plugins: [
    babel({
      exclude: 'node_modules/**',
    }),
    eslint({
      exclude: [
        'src/styles/**',
      ]
    }),
    vue({ /* configuration options. */ }),
  ],
}